<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>绝对定位</title>
	<style>
		.box1{
			width: 300px;
			height: 300px;
			background: red url() 0 0 no-repeat;
			margin-top: 100px;
			margin-left: 100px;
		}
		.box2{
			width: 150px;
			height: 150px;
			background: blue url() 0 0 no-repeat;
		}
		.box3{
			width: 150px;
			height: 150px;
			background: green url() 0 0 no-repeat;
		}
	</style>
</head>
<body>

	<div class="box1">
		<div class="box2">
			1
		</div>
		<div class="box3">2</div>
	</div>
</body>
</html>
	